<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php if(is_array($contents)) foreach($contents AS $i => $content) { ?>
_openads<?php echo $ads[$i]['adsid'];?> = window.open("","<?php echo $ads[$i]['adsid'];?>","height=<?php echo $ads[$i]['height'];?>,width=<?php echo $ads[$i]['width'];?>,status=no,toolbar=no,menubar=no,location=no");
_openads<?php echo $ads[$i]['adsid'];?>.document.writeln("
<html>
<body leftmargin=0 topmargin=0>
");
_openads<?php echo $ads[$i]['adsid'];?>.<?php echo $content['0'];?>
_openads<?php echo $ads[$i]['adsid'];?>.document.writeln("
</body>
</html>
");
<?php } ?>